@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="userInfoForm">
		
			<input type="hidden" id="id" value="">
			<input type="hidden" id="deptid" value="${deptid}">


			<div class="row">
				<div class="col-sm-6 b-r">
					<#input id="account" name="账号" underline="false"/>
					<#input id="password" name="密码" underline="false" type="password"/>
					<#select id="sex" name="性别" underline="false">
						<option value="1">男</option>
						<option value="2">女</option>
					</#select>
					<!--<#input id="email" name="邮箱" type="email"/>-->
					<#select id="dot_id" name="网点" underline="false">
						@for(dot in dots){
						<option value="${dot.id}">${dot.dotName}</option>
						@}
					</#select>
					<input type="hidden" id="roleid" />
					<div class="form-group">
						<label class="col-sm-3 control-label">权限</label>
						<div class="col-sm-9" id="role">
							<input name='role_id' id='3' type='checkbox' value='3'/><span>开单</span>
							<input name='role_id' id='5' type='checkbox' value='5'/><span>自提</span>
							<input name='role_id' id='6' type='checkbox' value='6'/><span>配送</span>
							<br>
							<input name='role_id' id='8' type='checkbox' value='8'/><span>中转</span>
							<input name='role_id' id='9' type='checkbox' value='9'/><span>出纳</span>
							<input name='role_id' id='10' type='checkbox' value='10'/><span>财务</span>
							<br>
							<input name='role_id' id='11' type='checkbox' value='11'/><span>改单</span>
							<input name='role_id' id='13' type='checkbox' value='13'/><span>财务核销</span>
							<input name='role_id' id='14' type='checkbox' value='14'/><span>月结</span>
							<br>
							<input name='role_id' id='12' type='checkbox' value='12'/><span>回单</span>
							<input name='role_id' id='7' type='checkbox' value='7'/><span>运营推广</span>
						</div>
					</div>
				</div>
				<div class="col-sm-6">
					<div id="driverInfoContent">
						<#input id="name" name="姓名" underline="false"/>

						<!--<#input id="birthday" name="出生日期" underline="false" type="date"
								clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>-->

						<#input id="rePassword" name="确认密码" type="password" underline="false"/>

						<#input id="phone" name="电话"/>

						<#select id="status" name="状态" underline="false">
							<option value="1">启用</option>
							<option value="2">冻结</option>
						</#select>

					</div>
				</div>
			</div>


			<div class="row btn-group-m-t">
				<div class="col-sm-10">
					<#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="UserInfoDlg.addSubmit()"/>
					<#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="UserInfoDlg.close()"/>
				</div>
			</div>
		</div>

	</div>
</div>
<script src="${ctxPath}/static/modular/system/user/dotUser/user_info.js"></script>
@}
